﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;

public class MainMenu : MonoBehaviour
{
    public GameObject m_AboutUsPanel;
    void Start()
    {
        
    }

    // Update is called once per frame
    void Update()
    {
        
    }
    
    public void OnSingalGameClicked()
    {
        SceneManager.LoadScene("SampleScene");
    }

    public void OnMultlePlayCliced()
    {

    }
    public void OnAboutMeClicked()
    {
        if(m_AboutUsPanel.activeSelf)
            m_AboutUsPanel.SetActive(false);
        else
            m_AboutUsPanel.SetActive(true);
    }
    public void OnExitClicked()
    {
        Application.Quit();
    }
}
